package com.shop.shopserver.service;

import com.shop.shoppojo.entity.Category;
import com.shop.shoppojo.vo.CategoryVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CategoryService {
    //查询商品分类信息主方法
    List<CategoryVO> getData();

    //将列表结构商品分类信息构建成分类树结构
    List<CategoryVO> getCategoryTree();

    //从redis中获取商品分类信息
    List<CategoryVO> getCategoryTreeFromRedis();


}
